<template>
    <fatherChildren :title="title" :fatherArr="arr"></fatherChildren>
</template>

<script setup lang="ts">
import fatherChildren from './父子传参/children.vue'
import { ref, reactive } from 'vue';

const title = ref('是不是真的')

type NT = {
    name : string,
    age : number
}

const arr = reactive<NT[]>([
    {
       name:'张三',
       age:18 
    },
    {
       name:'李四',
       age:20 
    },
    {
       name:'王五',
       age:22
    }
])
</script>

<style lang='scss' scoped>

</style>
